package com.DAO;

import java.util.List;

import com.bean.User;

public interface UserDao {
	List<User> findAllUser() throws Exception;
	User findUserById(int id) throws Exception;
	User findUserByName(String username,String usertype) throws Exception;
	boolean insertUser(String username,String userpass,String userphone,String useremail) throws Exception;
	boolean deleteUser(int id) throws Exception;
	boolean checkUserIsIn(String username) throws Exception;
	boolean checkUserInfo(String username,String userpass,String usertype) throws Exception;
}
